import request from '@/utils/request'
export default class index {
    // 每日统计
    static statDaily(params: any) {
      return request({
        url: 'api/statistics/statDaily',
        method: 'get',
        params
      })
    }
    // 每日房间消费统计
    static statDailyRoom(params: any) {
      return request({
          url: '/api/statistics/statDailyRoom',
          method: 'get',
          params
      })
    }
  // 当日房间消费统计
  static Dailyroomdang(params: any) {
    return request({
      url: '/api/statistics/statDailyRoom2',
      method: 'get',
      params
    })
  }
    // 每日房间消费统计 查询指定房间下范围内的每小时数据
    static roomDataByHour(params: any) {
      return request({
          url: '/api/statistics/roomDataByHour',
          method: 'get',
          params
      })
    }
    // 每日房间用户消费统计
    static statDailyRoomUser(params: any) {
      return request({
        url: 'api/dailyroom/alluserdata',
        method: 'get',
        params
      })
    }
    // 收支统计列表
    static statisticsList(params: any) {
      return request({
        url: 'api/accounts/statistics',
        method: 'get',
        params
      })
    }
    // 收支统计总计
    static statisticsPriceAll() {
      return request({
        url: 'api/accounts/statistics/price',
        method: 'get'
      })
    }
    // 概率玩法汇总数据表
    static gameplaySumStatList(params: any) {
      return request({
        url: 'api/gameplaySumStatList',
        method: 'get',
        params
      })
    }
    // 统计管理--获取同设备下用户玩法统计数据
    static gameplaySumStatListChild(params: any) {
      return request({
        url: 'api/gameplaySumStatListChild',
        method: 'get',
        params
      })
    }
  }
